Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Honour user build flags
Origin: vendor
Forwarded: no
Last-Update: 2014-10-09
CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve, any
required flag that the build system needs, has to be set in some other flag
so that the build will succeed even of the user flags are passed.
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Link against libgcc and libc to avoid unresolved symbols
Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09
We need to link agaisnt -lgcc, on at least hppa. We also need to link
against -lc, because we are now always using the syscall() libc function.
So let's stop passing -nostdlib and -nostartfiles.
Note: we used to use -Wl,--as-needed, this way we made sure we pulled the
required fortified functions from the internal libc_nonshared.a, but did
not link against the shared library because we did not use any of its
symbols.
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
libaio (0.3.112-3) unstable; urgency=medium
* Test suite fixes:
- Fix logic inversion in EINVAL check.
- Revert making the test suite fatal on failures, as the Debian buildd
setup is peculiar enough to make at least two tests fail. This will
need further work.